package com.artisan.medium.admin.service;

import com.artisan.common.pojo.PageBean;
import com.artisan.common.pojo.PageParam;
import com.artisan.model.Business;
import com.artisan.model.BusinessType;

import java.util.List;
import java.util.Map;

/**
 * Created by yang on 2017/7/5.
 */
public interface BusinessService {
        List<Business> getBusniessByPid(int pid);
        PageBean listPage(PageParam pageParam, Map<String, Object> paramMap);
        int insert(Business business);
        Business getBusinessById(int id);
        int update(Business business);
        int delBusiness(String ids);

        List<Business> getBusinessByPid(Integer pid);
}
